package com.yg.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yg.entity.singleEntity.TeacherAppoint;
import com.yg.config.result.R;
import com.yg.entity.readAndWriteTemplates.TeacherAppointTemplate;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 对应sheet03，此表为教师挂职表
<<<<<<< HEAD
注意！此表的id和教师表的id是一个id 服务类
=======
 * 注意！此表的id和教师表的id是一个id 服务类
>>>>>>> 69fc99cc7e3014ce3b7067423c731b85d7cdf9bc
 * </p>
 *
 * @author YingGu
 * @since 2020-11-04
 */
public interface TeacherAppointService extends IService<TeacherAppoint> {

    void readExcel(MultipartFile file, R r);

    void writeExcel(TeacherAppointTemplate appointTemplate, HttpServletResponse response);

    R getTeacherAppoint(long current, long limit, TeacherAppointTemplate appointTemplate, String vip, String teacherId);
}
